-- GENERATED SPELL FOR [Firegut Ogre Mage] --


function spell0_7034(pUnit, Event) --@Bloodlust,n/a--
pUnit:FullCastSpellOnTarget(6742,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_7034', 30296, 1)
end

function spell1_7034(pUnit, Event) --@Torch,n/a--
pUnit:FullCastSpellOnTarget(13381,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_7034', 8000, 1)
end

function Sorts_7034(pUnit, Event)
local choix_sorts_7034 = math.random(0, 1)
if choix_sorts_7034 == 0 then
pUnit:RegisterEvent('spell0_7034', 1, 1)
end
if choix_sorts_7034 == 1 then
pUnit:RegisterEvent('spell1_7034', 1, 1)
end
end

function mob7034_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_7034', math.random(1500, 3000), 1)
end

function mob7034_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7034_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7034_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(7034, 1, 'mob7034_Action')
RegisterUnitEvent(7034, 2, 'mob7034_Leave')
RegisterUnitEvent(7034, 3, 'mob7034_Kill')
RegisterUnitEvent(7034, 4, 'mob7034_Die')
